/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.star.common;

/**
 *
 * @author Administrator
 */
public class CrawlerNewsData {
    String id;
    String title;    
    String desc;
    String content;    
    long published;       
    String site;
    String thumbFb;
    String url;
    String images;
    String tags;
    String author;          
        
    public CrawlerNewsData(String id, String title, String desc, String content,
            long published, String site, String thumbFb, 
            String url, String images, String tags, String author) {
        this.id = id;
        this.title = title;        
        this.desc = desc;
        this.content = content;        
        this.published = published;         
        this.site = site;
        this.thumbFb = thumbFb;
        this.url = url;
        this.images = images;
        this.tags = tags;
        this.author = author;
    }

    public String getId() {
        return id != null ? id : "";
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title != null ? title : "";
    }

    public void setTitle(String title) {
        this.title = title;
    }
   
    public String getDesc() {
        return desc != null ? desc : "";
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getContent() {
        return content != null ? content : "";
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getPublished() {
        return published;
    }

    public void setPublished(long published) {
        this.published = published;
    }
    
    public String getSite() {
        return site != null ? site : "";
    }

    public void setSite(String site) {
        this.site = site;
    }

    public String getThumbFb() {
        return thumbFb != null ? thumbFb : "";
    }

    public void setThumbFb(String thumbFb) {
        this.thumbFb = thumbFb;
    }       

    public String getUrl() {
        return url != null ? url : "";
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getImages() {
        return images != null ? images : "";
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getTags() {
        return tags != null ? tags : "";
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getAuthor() {
        return author != null ? author : "";
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
